GXPD 26 - Adding Print Items to a Dialog (1-Aug-95)
Q I need to add print items to a QuickDraw GX dialog box. In attempting to use
Example No. 9 on the MacOS CD, I found what appears to be a bug. This example
uses GXGetMessageHandlerResFile() when it calls GXSetupDialogPanel, but it
should call CurResFile().
A You are correct. Applications should call CurResFile().
GXGetMessageHandlerResFile() is reserved for extensions and drivers.
For additional code examples that add print items to a QuickDraw GX dialog box,
see the WWDC Technology 1995 CD (or the MacOS SDK). The Extension Shell,
UserItems, and Additions samples provide the basic shell and item
adding/handling code that you require. The path to these samples on the WWDC
Technology 1995 CD is: